package com.dh.project.mapper;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.dh.project.model.EmployeeInfo;
import com.dh.project.model.PageModel;

import java.util.List;
import java.util.Map;

public interface EmployeeInfoMapper extends AutoMapper<EmployeeInfo>{
    int deleteByPrimaryKey(Integer employee_id);

    int insert(EmployeeInfo record);

    int insertSelective(EmployeeInfo record);

    EmployeeInfo selectByPrimaryKey(Integer employee_id);

    int updateByPrimaryKeySelective(EmployeeInfo record);

    int updateByPrimaryKey(EmployeeInfo record);

    List<EmployeeInfo> selectEmployeeInfoListByMap(Map map);

    PageModel selectEmployeeInfoListByMapCount(Map map);

}